package com.rfid.project.model;

import javax.persistence.*;

import biz.core.KeyValue;
import biz.util.KeyValueUtil;
import biz.util.StringUtil;
import biz.core.IdEntity;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

@Entity
public class AftersaleRecordWorktime extends IdEntity{

  
  //售后记录
  @ManyToOne
  @JoinColumn(name="AftersaleRecordID")
  private AftersaleRecord aftersaleRecord ;
  
  
  //人员
  @ManyToOne
  @JoinColumn(name="PersonID")
  private People person ;
  
  
  //消耗工时
  private Integer originalConsumeWorktime ;
  
  
  //备注
  private String remark ;
  
  
  public AftersaleRecord getAftersaleRecord(){
  	return aftersaleRecord;
  }
  
  public void setAftersaleRecord(AftersaleRecord aftersaleRecord){
			this.aftersaleRecord = aftersaleRecord;  
  }
  
  public People getPerson(){
  	return person;
  }
  
  public void setPerson(People person){
			this.person = person;  
  }
  
  public Integer getOriginalConsumeWorktime(){
  	return originalConsumeWorktime;
  }
  
  public void setOriginalConsumeWorktime(Integer originalConsumeWorktime){
			this.originalConsumeWorktime = originalConsumeWorktime;  
  }
  
  public String getRemark(){
  	return remark;
  }
  
  public void setRemark(String remark){
			this.remark = remark;  
  }
  

}
	
